Skip to content

Fix1129: Makes possible cluster geojson data. - #1136

Closed
fullonic wants to merge 9 commits into
python-visualization:masterfrom
fullonic:fix1129
Closed

fullonic wants to merge 9 commits into
python-visualization:masterfrom
fullonic:fix1129

Conversation

@fullonic

@fullonic fullonic commented May 3, 2019

Copy link
Copy Markdown
Contributor

Solves issue #1129.

Comment thread folium/features.py Outdated
figure.header.add_child(
JavascriptLink('https://cdnjs.cloudflare.com/ajax/libs/leaflet-dvf/0.3.0/leaflet-dvf.markers.min.js'),
JavascriptLink(
'https://cdnjs.cloudflare.com/ajax/libs/leaflet-dvf/0.3.0/leaflet-dvf.markers.min.js'),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not change the current layout of the code. It makes it harder to review.
We already have a noqa to keep this in a single line.

@fullonic fullonic May 3, 2019 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ocefpaf, sorry about that! I just realized after I made the commit. It was an automatic code format by the text editor because of the length of the line.
Shall I do a new commit undoing that or amend my local copy and push it again?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ocefpaf, sorry about that! I just realized after I made the commit. It was an automatic code format by the text editor because of the length of the line.

No problem. I do that all the time.

Shall I do a new commit undoing that or amend my local copy and push it again?

Whatever is easier for you. We can squash it later before merging.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed again with only my additions.
Cheers!

@fullonic fullonic changed the title Fix1129 Fix1129: Makes possible cluster geojson data. May 7, 2019
@fullonic

Copy link
Copy Markdown
Contributor Author

@Conengmo , @ocefpaf may you review this PR or issue #1129 , please? Version 9.1 was released however this problem keeps happening. This PR fixes the issue but I'm not sure if is the best way.
Thanks!

@Conengmo Conengmo added the waiting for review PR is waiting to be reviewed label Jun 18, 2019
@Conengmo

Copy link
Copy Markdown
Member

Hi @fullonic, sorry for the delay. I'll try to review soon, but I'm in the middle of moving so I don't have a desk with a computer yet to take the time for it ;) I would like to check what the issue is precisely, and if there's a more clean way to do it instead of adding an if-condition, that's duplicated in two places.

@fullonic

Copy link
Copy Markdown
Contributor Author

hi @Conengmo . Thanks for your fast reply. I also don't like of repeating the same if statement twice but was the faster way I found to solve the problem without changing any of the GeoJson current code. I think the break was made, if I'm not wrong, with PR #1058.
All the best in your moving :)

@fullonic

Copy link
Copy Markdown
Contributor Author

@Conengmo , I have another solution for this issue. Should I close this PR and create a new one? Or just create a new PR and point to it in this one?

Cheers!

@Conengmo

Conengmo commented Jun 25, 2019 •

Copy link
Copy Markdown
Member

If it's different then feel free to open up a new PR :)

@fullonic

Copy link
Copy Markdown
Contributor Author

@Conengmo , I created a new PR with the new approach #1188 . May you checked and let me know your opinion. Sorry about the delay hehe
Thanks :)

@fullonic fullonic closed this Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting for review PR is waiting to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants